[Prototype] Add @shopify/dev-platform-auth package skeleton - #8272
Draft
dmerand wants to merge 1 commit into
Draft
[Prototype] Add @shopify/dev-platform-auth package skeleton#8272dmerand wants to merge 1 commit into
dmerand wants to merge 1 commit into
Conversation
Assisted-By: devx/b95434f1-5993-47b3-b56c-380241eff68f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Prototype. This PR is part of an exploratory auth-extraction effort (portable
@shopify/dev-platform-authpackage). It exists as design evidence and groundwork; do not treat it as a merge candidate until the extraction project is approved.WHY are these changes introduced?
First structural PR of the auth extraction. The package will hold portable Shopify developer auth flows — Identity device flow and
client_credentials— for the CLI and, later, non-CLI JavaScript services. This PR freezes the packaging conventions before any auth code moves in, so reviewers can evaluate the portability contract on its own.WHAT is this pull request doing?
Scaffolding only; no auth logic. The reviewable substance is the contract:
.and./testing);sideEffects: false; zero runtime dependencies.mjs) consumer imports the built package; the built.entry contains no Node built-ins orrequire; the.entry bundles for the browser with esbuildHow to test your changes?
pnpm --filter @shopify/dev-platform-auth build && pnpm --filter @shopify/dev-platform-auth vitest run— the portability tests are the point; the rest is standard CI.Checklist